/*
 * File Name：SentencesDetail.java
 * Copyright：Copyright 2008-2015 CiWong.Inc. All Rights Reserved.
 * Description： SentencesDetail.java
 * Modify By：bin
 * Modify Date：2015年1月17日
 * Modify Type：Add
 */
package com.ciwong.epaper.modules.evaluate.bean;

import com.ciwong.mobilelib.bean.BaseBean;

/**
 * 句子
 *
 * @author bin
 * @version ciwong v.1.0 2015年1月17日
 * @since ciwong v.1.0
 */
public class SentencesDetail extends BaseBean {
//    private static final long serialVersionUID = 4782126790652159331L;
    /**
     * 句子内容
     */
    private String content;

    /**
     * 句子音频URL地址
     */
    private String audioUrl;

    /**
     * 句子图片URL地址
     */
    private String imgUrl;

    /**
     * 版本ID
     */
    private String versionId;

    /**
     * 资源类型ID
     */
    private String resourceModuleId;

    /**
     * 开始播放位置（毫秒）
     */
    private String start;

    /**
     * 持续播放时间（毫秒）
     */
    private String duration;


    /**
     * 句子名称
     */
    private String name;
    /**
     * 翻译
     */
    private String translate;

    /**
     * 角色人
     */
    private String role;

    public String getTranslate() {
        return translate;
    }

    public void setTranslate(String translate) {
        this.translate = translate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getResourceModuleId() {
        return resourceModuleId;
    }

    public void setResourceModuleId(String resourceModuleId) {
        this.resourceModuleId = resourceModuleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public boolean equals(Object o) {
        return ((SentencesDetail) o).getVersionId().equals(getVersionId());
    }


    @Override
    public String toString() {
        return "SentencesDetail{" +
                "content='" + content + '\'' +
                ", audioUrl='" + audioUrl + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", versionId='" + versionId + '\'' +
                ", resourceModuleId='" + resourceModuleId + '\'' +
                ", start='" + start + '\'' +
                ", duration='" + duration + '\'' +
                ", name='" + name + '\'' +
                ", role='" + role + '\'' +
                ", translate='" + translate + '\'' +
                '}';
    }
}
